<html>
<head><meta charset="utf-8"><title>profiler_builtins not compiling on MacOS or Windows · t-compiler/help · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/index.html">t-compiler/help</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/profiler_builtins.20not.20compiling.20on.20MacOS.20or.20Windows.html">profiler_builtins not compiling on MacOS or Windows</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="216955752"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/profiler_builtins%20not%20compiling%20on%20MacOS%20or%20Windows/near/216955752" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Rich Kadel <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/profiler_builtins.20not.20compiling.20on.20MacOS.20or.20Windows.html#216955752">(Nov 17 2020 at 01:18)</a>:</h4>
<p>I'm trying to verify some new Rust coverage tests locally on my Mac (in <code>run-make-fulldeps</code>) based on a new PR that works on Linux. I fetched and checked out the changes, but the tests are being ignored. When I add <code>--test-args --ignored</code>, the compiler says:</p>
<div class="codehilite"><pre><span></span><code>can&#39;t find crate for `profiler_builtins`
</code></pre></div>
<p>This worked last week with the same config.toml, but just to be sure, I refreshed my config.toml from the latest <code>config.toml.example</code>, and turned on <code>profiler = true</code>, but got the same result.</p>
<p>Is there a known issue here?</p>



<a name="216956017"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/profiler_builtins%20not%20compiling%20on%20MacOS%20or%20Windows/near/216956017" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Rich Kadel <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/profiler_builtins.20not.20compiling.20on.20MacOS.20or.20Windows.html#216956017">(Nov 17 2020 at 01:22)</a>:</h4>
<p>Note, I see the <code>profiler_builtins</code> lib in stage0:</p>
<div class="codehilite"><pre><span></span><code>build/x86_64-apple-darwin/stage0/lib/rustlib/x86_64-apple-darwin/lib/libprofiler_builtins-8b23e17aa76539a7.rlib
</code></pre></div>
<p>but it's not in stage1</p>



<a name="216956131"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/profiler_builtins%20not%20compiling%20on%20MacOS%20or%20Windows/near/216956131" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Rich Kadel <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/profiler_builtins.20not.20compiling.20on.20MacOS.20or.20Windows.html#216956131">(Nov 17 2020 at 01:24)</a>:</h4>
<p>these are the only changes I made from a recent (today) <code>config.toml.example</code>:</p>
<div class="codehilite"><pre><span></span><code>&gt; ninja = true
268a269
&gt; profiler = true
357a359
&gt; debug = true
433a436
&gt; incremental = true
437a441
&gt; parallel-compiler = true
</code></pre></div>



<a name="216956528"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/profiler_builtins%20not%20compiling%20on%20MacOS%20or%20Windows/near/216956528" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/profiler_builtins.20not.20compiling.20on.20MacOS.20or.20Windows.html#216956528">(Nov 17 2020 at 01:31)</a>:</h4>
<p>Fulldeps tests don't work with stage 1</p>



<a name="216956539"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/profiler_builtins%20not%20compiling%20on%20MacOS%20or%20Windows/near/216956539" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/profiler_builtins.20not.20compiling.20on.20MacOS.20or.20Windows.html#216956539">(Nov 17 2020 at 01:31)</a>:</h4>
<p>You need --stage 2</p>



<a name="216956597"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/profiler_builtins%20not%20compiling%20on%20MacOS%20or%20Windows/near/216956597" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Rich Kadel <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/profiler_builtins.20not.20compiling.20on.20MacOS.20or.20Windows.html#216956597">(Nov 17 2020 at 01:32)</a>:</h4>
<p>Actually it's not just MacOS. <code>run-make-fulldeps</code> just wrapped up for my Windows test, and I have the same problem there as well.</p>



<a name="216956669"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/profiler_builtins%20not%20compiling%20on%20MacOS%20or%20Windows/near/216956669" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Rich Kadel <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/profiler_builtins.20not.20compiling.20on.20MacOS.20or.20Windows.html#216956669">(Nov 17 2020 at 01:33)</a>:</h4>
<p>OK, maybe I'm building differently, starting with just <code>./x.py test ...</code> (without having done <code>x.py build</code> first. If this isn't a recent change, that's probably the reason. Thanks.</p>



<a name="216956728"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/profiler_builtins%20not%20compiling%20on%20MacOS%20or%20Windows/near/216956728" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/profiler_builtins.20not.20compiling.20on.20MacOS.20or.20Windows.html#216956728">(Nov 17 2020 at 01:34)</a>:</h4>
<p>(deleted)</p>



<a name="216956747"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/profiler_builtins%20not%20compiling%20on%20MacOS%20or%20Windows/near/216956747" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/profiler_builtins.20not.20compiling.20on.20MacOS.20or.20Windows.html#216956747">(Nov 17 2020 at 01:34)</a>:</h4>
<p>(deleted)</p>



<a name="216956762"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/profiler_builtins%20not%20compiling%20on%20MacOS%20or%20Windows/near/216956762" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/profiler_builtins.20not.20compiling.20on.20MacOS.20or.20Windows.html#216956762">(Nov 17 2020 at 01:35)</a>:</h4>
<p>Sorry, mobile zulip is buggy</p>



<a name="216959142"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/profiler_builtins%20not%20compiling%20on%20MacOS%20or%20Windows/near/216959142" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Rich Kadel <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/profiler_builtins.20not.20compiling.20on.20MacOS.20or.20Windows.html#216959142">(Nov 17 2020 at 02:15)</a>:</h4>
<p>I'm kind of surprised this didn't work: <code>./x.py test src/test/run-make-fulldeps/coverage --stage 2</code></p>
<p>So now I'm running <code>./x.py build</code> by itself, first, and then after that I'll try the tests again. (I'm surprised I'm having problems with this. This seems like a new dependency issue.)</p>



<a name="216959203"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/profiler_builtins%20not%20compiling%20on%20MacOS%20or%20Windows/near/216959203" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/profiler_builtins.20not.20compiling.20on.20MacOS.20or.20Windows.html#216959203">(Nov 17 2020 at 02:16)</a>:</h4>
<p>hmm that should have worked :/</p>



<a name="216959208"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/profiler_builtins%20not%20compiling%20on%20MacOS%20or%20Windows/near/216959208" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Rich Kadel <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/profiler_builtins.20not.20compiling.20on.20MacOS.20or.20Windows.html#216959208">(Nov 17 2020 at 02:16)</a>:</h4>
<p>Yeah, still not working after <code>./x.py build</code> either</p>



<a name="216959214"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/profiler_builtins%20not%20compiling%20on%20MacOS%20or%20Windows/near/216959214" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/profiler_builtins.20not.20compiling.20on.20MacOS.20or.20Windows.html#216959214">(Nov 17 2020 at 02:16)</a>:</h4>
<p>it's the same error that <code>profiler_builtins</code> isn't found?</p>



<a name="216959224"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/profiler_builtins%20not%20compiling%20on%20MacOS%20or%20Windows/near/216959224" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Rich Kadel <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/profiler_builtins.20not.20compiling.20on.20MacOS.20or.20Windows.html#216959224">(Nov 17 2020 at 02:16)</a>:</h4>
<p>yeah, it's not there. Just under stage0.</p>



<a name="216959942"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/profiler_builtins%20not%20compiling%20on%20MacOS%20or%20Windows/near/216959942" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Rich Kadel <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/profiler_builtins.20not.20compiling.20on.20MacOS.20or.20Windows.html#216959942">(Nov 17 2020 at 02:29)</a>:</h4>
<p><span class="user-mention" data-user-id="116122">@simulacrum</span> Are you aware of any recent changes to how <code>profiler_builtins</code> is built?</p>



<a name="216960184"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/profiler_builtins%20not%20compiling%20on%20MacOS%20or%20Windows/near/216960184" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Rich Kadel <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/profiler_builtins.20not.20compiling.20on.20MacOS.20or.20Windows.html#216960184">(Nov 17 2020 at 02:33)</a>:</h4>
<p>Ah... <a href="https://github.com/rust-lang/rust/pull/78354">https://github.com/rust-lang/rust/pull/78354</a></p>



<a name="216960223"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/profiler_builtins%20not%20compiling%20on%20MacOS%20or%20Windows/near/216960223" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Rich Kadel <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/profiler_builtins.20not.20compiling.20on.20MacOS.20or.20Windows.html#216960223">(Nov 17 2020 at 02:34)</a>:</h4>
<p>that landed 5 days ago</p>



<a name="216960235"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/profiler_builtins%20not%20compiling%20on%20MacOS%20or%20Windows/near/216960235" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Rich Kadel <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/profiler_builtins.20not.20compiling.20on.20MacOS.20or.20Windows.html#216960235">(Nov 17 2020 at 02:34)</a>:</h4>
<p>The timing is right.</p>
<p>I don't think it's working intuitively</p>



<a name="216960266"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/profiler_builtins%20not%20compiling%20on%20MacOS%20or%20Windows/near/216960266" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/profiler_builtins.20not.20compiling.20on.20MacOS.20or.20Windows.html#216960266">(Nov 17 2020 at 02:35)</a>:</h4>
<p>Oh hm, I did not approve that change...</p>



<a name="216960282"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/profiler_builtins%20not%20compiling%20on%20MacOS%20or%20Windows/near/216960282" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/profiler_builtins.20not.20compiling.20on.20MacOS.20or.20Windows.html#216960282">(Nov 17 2020 at 02:35)</a>:</h4>
<p>cc <span class="user-mention" data-user-id="120823">@DPC</span> please be more careful when approving for others, I had asked to do another read through on <a href="https://github.com/rust-lang/rust/issues/78354">#78354</a></p>



<a name="216960417"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/profiler_builtins%20not%20compiling%20on%20MacOS%20or%20Windows/near/216960417" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/profiler_builtins.20not.20compiling.20on.20MacOS.20or.20Windows.html#216960417">(Nov 17 2020 at 02:38)</a>:</h4>
<p><span class="user-mention" data-user-id="296355">@Rich Kadel</span> I'm not sure that profilers ever worked on macOS? But if that change in question is causing problems, please feel free to provide feedback - I would not expect it to break things if profiler = true is specified, I think, but I have not done a thorough review of the code yet</p>



<a name="216960427"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/profiler_builtins%20not%20compiling%20on%20MacOS%20or%20Windows/near/216960427" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Rich Kadel <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/profiler_builtins.20not.20compiling.20on.20MacOS.20or.20Windows.html#216960427">(Nov 17 2020 at 02:38)</a>:</h4>
<p>It definitely worked. I was testing with it regularly.</p>



<a name="216960536"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/profiler_builtins%20not%20compiling%20on%20MacOS%20or%20Windows/near/216960536" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Rich Kadel <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/profiler_builtins.20not.20compiling.20on.20MacOS.20or.20Windows.html#216960536">(Nov 17 2020 at 02:41)</a>:</h4>
<p><a href="https://github.com/rust-lang/rust/issues/78354">#78354</a> copies the (commented out) <code>#profiler = false</code> line from the <code>rust</code> section to the sample target (<code>linux</code>) section, and bootstrap has changes related to this.</p>
<p>I have a feeling that changing <code>profiler = true</code> in rust is not changing the "target-specific default" (just a guess mind-you). I'm trying to explicitly set the <code>profiler</code> setting for <code>darwin</code> to see if that works.</p>



<a name="216960597"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/profiler_builtins%20not%20compiling%20on%20MacOS%20or%20Windows/near/216960597" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Rich Kadel <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/profiler_builtins.20not.20compiling.20on.20MacOS.20or.20Windows.html#216960597">(Nov 17 2020 at 02:42)</a>:</h4>
<p>I see it's building profiler-builtins now, with that config.toml change</p>



<a name="216960697"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/profiler_builtins%20not%20compiling%20on%20MacOS%20or%20Windows/near/216960697" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Rich Kadel <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/profiler_builtins.20not.20compiling.20on.20MacOS.20or.20Windows.html#216960697">(Nov 17 2020 at 02:44)</a>:</h4>
<p>I think the new target-specific settings, if not set, need to default to the non-specific setting; but it's not working that way today.</p>



<a name="216960877"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/profiler_builtins%20not%20compiling%20on%20MacOS%20or%20Windows/near/216960877" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Rich Kadel <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/profiler_builtins.20not.20compiling.20on.20MacOS.20or.20Windows.html#216960877">(Nov 17 2020 at 02:48)</a>:</h4>
<p>(I said "rust" section but in config.toml it is the "build" section. Sorry.)</p>



<a name="216960889"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/profiler_builtins%20not%20compiling%20on%20MacOS%20or%20Windows/near/216960889" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Rich Kadel <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/profiler_builtins.20not.20compiling.20on.20MacOS.20or.20Windows.html#216960889">(Nov 17 2020 at 02:48)</a>:</h4>
<p>I'm adding a note to the PR now.</p>



<a name="216961836"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/profiler_builtins%20not%20compiling%20on%20MacOS%20or%20Windows/near/216961836" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Rich Kadel <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/profiler_builtins.20not.20compiling.20on.20MacOS.20or.20Windows.html#216961836">(Nov 17 2020 at 03:07)</a>:</h4>
<p>Just to be clear, profiler_builtins does work on Linux, Mac, and Windows, and the new Rust LLVM InstrProf source-based coverage feature depends on this library.  I do often build on all three platforms, e.g., to debug platform-dependent issues, particularly in the tests.</p>



<a name="216962863"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/profiler_builtins%20not%20compiling%20on%20MacOS%20or%20Windows/near/216962863" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Rich Kadel <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/profiler_builtins.20not.20compiling.20on.20MacOS.20or.20Windows.html#216962863">(Nov 17 2020 at 03:29)</a>:</h4>
<p>I filed <a href="https://github.com/rust-lang/rust/issues/79124">#79124</a>, per Mark's recommendation, and I confirmed the workaround. My tests work after making the following change to config.toml:</p>
<div class="codehilite" data-code-language="TOML"><pre><span></span><code><span class="k">[target.x86_64-apple-darwin]</span>
<span class="n">profiler</span> <span class="o">=</span> <span class="n">toml</span>
</code></pre></div>
<p>(Change the target to whatever target you're compiling for.)</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>